package com.fmdj.vhr.db.dao;


import com.fmdj.vhr.db.pojo.VoucherEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

public interface VoucherDao {
    public int insert(VoucherEntity entity);

    public ArrayList<String> searchIdByUUID(ArrayList<String> list);

    ArrayList<HashMap> searchVoucherByPage(Map map);

    long searchVoucherCount(Map map);

    HashMap searchVoucherById(long id);

    int updateVoucherStatus(Map map);

    //查询所有代金卷
    ArrayList<HashMap> searchVoucherTakeCount(Long[] ids);

    int deleteVoucherByIds(Long[] ids);
}




